﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="VedioPlay.aspx.cs" Inherits="Admin_Department_Add" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>50CMS后台框架</title>
    <link rel="shortcut icon" href="favicon.ico">
     <link href="../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="../css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="../css/animate.css" rel="stylesheet">
    <link href="../css/style.css?v=4.1.0" rel="stylesheet">
    

        <link href="../50/style.css" rel="stylesheet" />
        <link href="../css/plugins/sweetalert/sweetalert.css" rel="stylesheet" />
        <script src="../Js/plugins/sweetalert/sweetalert.min.js"></script>

         <script type="text/javascript">
         function popupWindow(mypage, myname, w, h, scroll) {
             var winl = (screen.width - w) / 2;
             var wint = (screen.height - h) / 2;
             winprops = 'height=' + h + ',width=' + w + ',top=' + wint + ',left=' + winl + ',scrollbars=' + scroll + ',resizable'+',location=no'
             win = window.open(mypage, myname, winprops)
             if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
         }

     </script>
</head>
<body class="gray-bg">
   <form id="form1" runat="server" class="form-horizontal m-t">
  <div class="wrapper animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
            
                    <div class="ibox-content">
                       <div class="panel-body">
                      <div class="form-group">
                         
                         
                           <div class="col-sm-12" style="margin-top: 1em;">
                                <label class="col-sm-2 control-label">视频播放：</label>
                                <div class="col-sm-6">
                         
                             <script src="../../ckplayer/ckplayer.js"></script>
                            <div class="video" style="width: 600px;height: 400px;"></div>
                            <script type="text/javascript">
	                            var videoObject = {
		                            container: '.video',//“#”代表容器的ID，“.”或“”代表容器的class
		                            variable: 'player',//该属性必需设置，值等于下面的new chplayer()的对象
		                            poster:'pic/wdm.jpg',//封面图片
		                            video: '<%=url%>',//视频地址
	                                autoplay: true,
	                            };
	                            var player=new ckplayer(videoObject);
                            </script>
                                </div>
                        </div>
                          
      <div style="margin-top:10px;text-align:center;">


        </div>
                        </div>
                    </div>
                </div>
            </div>
       
    </div>
   </div>
        </form>

    
      <!-- 全局js -->
   <%-- <script src="../js/jquery.min.js?v=2.1.4"></script>--%>
    <script src="../../js/1.9.1/jquery.min.js"></script>
    <script src="../js/bootstrap.min.js?v=3.3.6"></script>

      <!-- 自定js -->

    <script src="../50/function.js"></script>
    <script type="text/javascript" src="../js/layer/layer.js"></script>
    <script type="text/javascript">
      



                if (typeof (success) != "undefined") {

                    swal({ title: "成功", type: "success", showConfirmButton: false, timer: 2000 }
                        , function () {
                            var index = parent.layer.getFrameIndex(window.name); //获取当前窗体索引
                            parent.layer.close(index); //执行关闭
                        }
                  );
                }
                function myclose() {
                    var index = parent.layer.getFrameIndex(window.name); //获取当前窗体索引
                    parent.layer.close(index); //执行关闭
                }
    
    
    </script>
    <script type="text/javascript">
        function ToggleVisibility(id, type)   //进度条的隐藏和显示
        {
            
            el = document.getElementById(id);
            if (el.style) {
                if (type == 'on') {
                    el.style.display = 'block';
                }
                else {
                    el.style.display = 'none';

                }
            }
            else {
                if (type == 'on') {
                    el.display = 'block';
                }
                else {
                    el.display = 'none';
                }
            }
        }
      
       
      
</script>
     
</body>
</html>
